package com.yu.thread3;

/**
 * Created by xiaolongyu on 15/1/15.
 */
public class Joining {
    class Sleeper extends Thread{
        private int duration;

        public Sleeper(String name, int sleepTime){
            super(name);
            this.duration = sleepTime;
            start();
        }

        @Override
        public void run() {
            super.run();
        }
    }
}
